package com.ai.bitcoin.jpa.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Entity
@Data
@Table(name = "bcc_order")
@DynamicInsert(true)
public class BccOrder extends Identity {

    String openId;
    String orderCode;
    String userSymbol;
    Date createTime;
    Date updateTime;
    Integer status;
    String info;
    Double totalAmount;
    Double actualAmount;
    String thirdOrderCode;
    Integer type;
    Integer childType;
    String subPackageSymbol;
    Integer payType;
    @Transient
    Object content; //订单info转换后的实体类
}
